//
//  UIDevice+NXFrame.m
//  OAManager
//
//  Created by kepuna on 2017/11/26.
//  Copyright © 2017年 kepuna. All rights reserved.
//

#import "UIDevice+NXFrame.h"

@implementation UIDevice (NXFrame)

+ (CGFloat)nx_statusBarHeight {
    CGRect rectStatus = [[UIApplication sharedApplication] statusBarFrame];
    return rectStatus.size.height;
}

+ (CGFloat)nx_tabbarHeight {
    UITabBarController *tabBarVC = [[UITabBarController alloc] init];
    return tabBarVC.tabBar.frame.size.height;
}

@end
